package redisServer

import (
	"utils"
)

func GetRedis(key string) string {
	client := GetConnect()
	defer client.Close()
	val, err := client.Get(key).Result()
	utils.CheckRedisError(err)
	return val
}
